// import React from 'react'
// import ReactDOM from 'react-dom/client'
// import App from './App.tsx'
// import '../app/globals.css'

// ReactDOM.createRoot(document.getElementById('root')!).render(
//   <React.StrictMode>
//     <App />
//   </React.StrictMode>,
// )

import { createRoot } from 'react-dom/client';
import App from './App';
import '../app/globals.css';
import store from '@/redux/store';
import { Provider } from 'react-redux';

const rootElement = document.getElementById('root');
const root = createRoot(rootElement || document.createElement('div'));

// 👇️ wrap App in Router

root.render(
  <Provider store={store} >
    <App />
  </Provider>
);
